package com.xiaolin.bean;

public class Cart {
    private int id;
    private String name;
    private double price;
    private String type;

    public Cart(int id, String name, double price, String type, int num, String user) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.type = type;
        this.num = num;
        this.user = user;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    private int num;

    private String user;



    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Cart() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
